package com.ely.coupon.distribute.controller;

import com.ely.coupon.common.core.result.ResponseResult;
import com.ely.coupon.distribute.config.TestConfigProperties;
import com.ely.coupon.distribute.service.CouponDistributeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 自动发发  会员等级  v10  会员ID
 */
@RestController
public class TestController {
    @Resource
    private TestConfigProperties properties;

    @GetMapping("/test")
    public Integer testRefresh() {
        return properties.getVersion();
    }
}

